package com.aierkeji.call.cms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.aierkeji.call.cms.util.AppConfig;


@SpringBootApplication(scanBasePackages="com.aierkeji.call.cms")
@EnableJpaRepositories(basePackages="com.aierkeji.call.cms.dao.jpa",repositoryImplementationPostfix="CustomImpl")
@EntityScan(basePackages="com.aierkeji.call.cms.entity")
@EnableTransactionManagement
@EnableScheduling
public class AierkejiCallCmsApplication {

    public static void main(String[] args) {
        System.setProperty("tomcat.util.http.parser.HttpParser.requestTargetAllow","{}");
        ConfigurableApplicationContext configurableApplicationContext = SpringApplication.run(AierkejiCallCmsApplication.class, args);
    }

}
